package org.linlinjava.litemall.db.dao.order_manage;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.vo.order_manage.BackendGoodsListVo;
import org.linlinjava.litemall.db.vo.order_manage.BackendLinkStoreListVo;
import org.linlinjava.litemall.db.vo.order_manage.BackendStoreListVo;
import org.linlinjava.litemall.db.vo.store.AddGoodsListVo;
import org.linlinjava.litemall.db.vo.store.GoodsListVo;
import org.linlinjava.litemall.db.vo.store.RfidRecordListVo;

import java.util.List;

public interface BackendStoreMapper {
    List<BackendLinkStoreListVo> linkShopList(@Param("busId") Integer busId,
                                              @Param("type") Integer type,
                                              @Param("commodityId") Integer commodityId,
                                              @Param("province") Integer province,
                                              @Param("city") Integer city,
                                              @Param("area") Integer area,
                                              @Param("shopKeyWords") String shopKeyWords);

    List<BackendStoreListVo> storeList(@Param("busId") Integer busId,
                                       @Param("province") Integer province,
                                       @Param("city") Integer city,
                                       @Param("area") Integer area,
                                       @Param("searchKey") String searchKey);

    List<GoodsListVo> commodityDetailList(@Param("storeId") Long storeId, @Param("state") String state);

    List<AddGoodsListVo> commodityDetailAddDialogList(@Param("busId") Integer busId, @Param("classIfication1") String classIfication1,
                                                      @Param("classIfication2") String classIfication2,
                                                      @Param("type") String type, @Param("keySearch") String keySearch);

    List<RfidRecordListVo> commodityDetailEquipmentDetail(@Param("equipmentId") Long equipmentId);

    List<Integer> getStaffIds(@Param("storeId") Long storeId);
}
